/**
 * @description: Development mode
 */
export const devMode = 'base'

/**
 * @description: Production mode
 */
export const prodMode = 'prod'

export function getEnv(): string {
  return import.meta.env.MODE
}

/**
 * @description: Is it a development mode
 * @returns:
 * @example:
 */
export function isDevMode(): boolean {
  const mode = getEnv()
  return mode === devMode
}

/**
 * @description: Is it a production mode
 * @returns:
 * @example:
 */
export function isProdMode(): boolean {
  const mode = getEnv()
  return mode === prodMode
}
